package com.gaoyi.crm.apiresult;

import java.util.List;

public class PagedList<T> {
    private int pageIndex;
    private int totalCount;
    private int syncTotalCount;
    private int pageSize;
    private int totalPages;
    private List<T> list;

    public int getSyncTotalCount() {
        return syncTotalCount;
    }

    public void setSyncTotalCount(int syncTotalCount) {
        this.syncTotalCount = syncTotalCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
